<include file="Public:head_nav" />
<include file="House:nav" />
        <div class="h_s_n3_t"><h1 class="h1_title"><span class="h1_title_t">楼盘问答</span></h1></div>
        <div class="h_s_n3">
            <volist name='list' id='vo'>
            <dl>
                <dt><a title="{$vo.title}" href="{:U('Ask/detail',array('id'=>$vo['id']))}">{$vo.title}</a></dt>
                <dd><em>时间∶{$vo.add_time|date='Y-m-d',###}</em></dd>
                <dd><span>
                       <php>if($vo['answer']){</php>
                        <em class="huida">答</em>{:getAnswerOne($vo['answer'])}
                        <php>}else{</php>
                        <em class="huida">详细</em>{$vo.info}
                        <php>}</php>
                </span></dd>
            </dl>
             </volist>
        </div>
<div class="plastic_bottom_pages">
    {$page}
</div>

<div class="div_box">
    <div class="h_s_n3_t"><h1 class="h1_title"><span class="h1_title_t">在线问答</span></h1></div>
    <div class="ask_show01_n2 regbox" style="padding: 10px;">
        <p>问题标题<span class="org">*</span></p>
        <p><input class="input_reg" id="askTitle" type="text"></p>
        <p>问题详细<span class="org">*</span></p>
        <p>
            <textarea id="askInfo" class="r_inp01"></textarea>
        </p>
        <p>所属分类<span class="org">*</span></p>
        <p class="overflow_h">
              <span class="address_sel" style="width: 100%">
                  <select class="select01"  id="askCateId">
                      <option value="0">--请选择分类--</option>
                      <volist name='ask_cate' id='val'>
                          <option value="{$val.id}">{$val.html}{$val.name}</option>
                      </volist>
                  </select>
              </span>
        </p>
        <p><a id="askBut" href="javascript:;" class="but03">提交问题</a></p>
       <input type="hidden" value="{$house.id}" id="house_id">
    </div>
</div>
<script type="text/javascript" src="__JS__/jquery.js"></script>
<script type="text/javascript" src="__H__/js/layer/layer.js"></script>
<script type="text/javascript" src="__JS__/public.js"></script>
<script type="text/javascript">
    $("#askBut").click(function(){
        var url = "{:U('Ajax/addAsk')}";
        ask_add(url);
    });
</script>
    </div>
    <include file="Public:footer_nav" />
</div>

<include file="Public:footer" />